const state = {
    //定义状态的
    isLogin: localStorage["token"] ? JSON.parse(localStorage["token"]) : false,
    indexListDatas: [],
    isLoading: false,
    categoryLeftDatas: [],
    categoryRightDatas: [],
    categoryListDatas: [],
    brandListDatas: [],
    detailDatas: {},
    posterDatas: {},
    cartDatas: localStorage["carts"] ? JSON.parse(localStorage["carts"]) : [],
    selectAll: localStorage["selectall"] ? JSON.parse(localStorage["selectall"]) : true
};


export default state;